package com.richfit.cuba.modular.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * balance-
 * </p>
 *
 * @author Alan
 * @since 2019-03-27
 */
@TableName("BC_MONTH_DEPOT_IMPORT_DETAIL")
public class BcMonthDepotImportDetail extends Model<BcMonthDepotImportDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * key 
     */
    @TableId
    @TableField("ID")
    private String id;
    /**
     * date 
     */
    @TableField("BSNS_DATE")
    private Date bsnsDate;
    /**
     * quantity 
     */
    @TableField("QUANTITY")
    private Double quantity;
    /**
     * detail key  
     */
    @TableField("DETAIL_KEY")
    private String detailKey;

    /**
     * countries 进出口国家
     */
    @TableField("COUNTRIES")
    private String countries;
    /**
     * depot key 油库主键
     */
    @TableField("DEPOT_ID")
    private String depotId;
    
    /**
     * oil key 油品主键
     */
    @TableField("OIL_ID")
    private String oilId;

    /**
     * *机构名称
     */
    @TableField(exist = false)
    private String orgName;
    
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getBsnsDate() {
        return bsnsDate;
    }

    public void setBsnsDate(Date bsnsDate) {
        this.bsnsDate = bsnsDate;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public String getDetailKey() {
        return detailKey;
    }

    public void setDetailKey(String detailKey) {
        this.detailKey = detailKey;
    }

    public String getCountries() {
		return countries;
	}

	public void setCountries(String countries) {
		this.countries = countries;
	}

	public String getDepotId() {
		return depotId;
	}

	public void setDepotId(String depotId) {
		this.depotId = depotId;
	}

	public String getOilId() {
		return oilId;
	}

	public void setOilId(String oilId) {
		this.oilId = oilId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	@Override
    protected Serializable pkVal() {
        return id;
    }

    @Override
    public String toString() {
        return "BcMonthDepotImportDetail{" +
        ", id=" + id +
        ", bsnsDate=" + bsnsDate +
        ", quantity=" + quantity +
        ", detailKey=" + detailKey +
        "}";
    }
}
